<template>
  <el-card>
    <template #header>
      <div class="flex">
        <div class="flex1">审核机构</div>
      </div>
    </template>
    <el-form
      ref="formRef"
      v-loading="loading"
      :model="data"
      label-width="160px"
      class="page"
    >
      <el-form-item label="机构性质" prop="organizationId">
        {{ data?.xxx }}
      </el-form-item>
      <el-form-item label="所在城市" prop="organizationId">
        {{ data?.xxx }}
      </el-form-item>
      <el-form-item label="公司名称" prop="realName">
        {{ data?.xxx }}
      </el-form-item>
      <el-form-item label="营业执照" prop="sex">
        {{ data?.xxx }}
      </el-form-item>
      <el-form-item label="法人身份证号" prop="phone">
        {{ data?.xxx }}
      </el-form-item>
      <el-form-item label="身份证正反面" prop="countryName">
        {{ data?.xxx }}
      </el-form-item>
      <el-form-item label="联系人" prop="status">
        {{ data?.xxx }}
      </el-form-item>
      <el-form-item label="联系方式" prop="status">
        {{ data?.xxx }}
      </el-form-item>
      <el-form-item label="合同编号" prop="status">
        {{ data?.xxx }}
      </el-form-item>
      <el-form-item label="签约合同" prop="status">
        {{ data?.xxx }}
      </el-form-item>
      <el-form-item label="申请人" prop="status">
        {{ data?.xxx }}
      </el-form-item>
      <el-form-item label="申请时间" prop="status">
        {{ data?.xxx }}
      </el-form-item>
      <el-form-item label="审核状态" prop="status">
        {{ data?.xxx }}
      </el-form-item>
      <el-form-item label="审核是否通过" prop="status">
        {{ data?.xxx }}
      </el-form-item>
      <el-form-item label="打回理由" prop="status">
        {{ data?.xxx }}
        <div style="color: red">
          *此处只做线上痕迹保留，无论是否审核通过，强烈建议通过微信、电话告知机构联系人!
        </div>
      </el-form-item>
      <el-form-item label="联系人" prop="status">
        {{ data?.xxx }}
      </el-form-item>
    </el-form>
  </el-card>
</template>
<script lang="ts" setup>
import API from '@/api/api';
import { useMessage } from '@/hooks/useMessage';
import { createRequireRole } from '@/utils/rules';
import { useRequest } from 'vue-hooks-plus';
const route = useRoute();
const message = useMessage(); // 消息弹窗
const isNew = !route.query.id;
const { data, loading } = useRequest(
  async () => {
    return API.organizationController.info({
      organizationId: route.query.id,
    });
  },
  {
    ready: !!route.query.id,
  }
);
</script>
